package com.tanlu.tcc.domain;

import com.tanlu.tcc.annotation.Propagation;
import com.tanlu.tcc.annotation.TransactionStatus;

import java.io.Serializable;

public class Command implements Serializable {

    private Object object;

    private Propagation propagation;

    private TransactionStatus transactionStatus;

    private int outtime;

    public int getOuttime() {
        return outtime;
    }

    public void setOuttime(int outtime) {
        this.outtime = outtime;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public Propagation getPropagation() {
        return propagation;
    }

    public void setPropagation(Propagation propagation) {
        this.propagation = propagation;
    }

    public TransactionStatus getTransactionStatus() {
        return transactionStatus;
    }

    public void setTransactionStatus(TransactionStatus transactionStatus) {
        this.transactionStatus = transactionStatus;
    }
}
